function  jgry_items2names(items){
    let names=""
    items.forEach(e => {
        names+=e.name+"/"
    })
}
return names.slice(0,names.length-1)

// 将downloadList进行转换并增加合计
export function getNewdownloadList(downloadList) {
    let o={
        salesOrder_number:'合计',
        jgsl:0,
        jgAmount:0
    }
    if (downloadList) {
        downloadList.forEach(e => {
            o.jgsl+=e.jgsl
            o.jgAmount+=e.jgAmount
        });
        this.downloadList.push(o)
    } else {
      return []
    }
}